/* ========== Boyan Feature Module ========== */

.by-features {
    padding: 20px 0;
    background: #fff;
}

.by-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 25px;
    max-width: 1300px;
    margin: auto;
}

.by-container-c {
    display: grid;
    gap: 25px;
    max-width: 1300px;
    margin: auto;
}


.by-item {
    text-align: center;
    padding: 18px 12px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.by-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


.by-icon img {
    width: 120px;
    height: auto;
    transition: transform 0.25s ease;
}

.by-item:hover .by-icon img {
    transform: scale(1.06);
}

.by-title {
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0 6px;
}

.by-item p {
    margin: 0;
    line-height: 1.5;
}


@media (max-width: 1024px) {
    .by-container {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 768px) {
    .by-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .by-item {
        padding: 14px 8px;
    }
    .by-icon img {
        width: 95px;
    }
}


@media (max-width: 480px) {
    .by-title {
        font-size: 15px;
    }
    .by-icon img {
        width: 85px;
    }
}


/* =================================================
   Site Top Banner - 企业官网安全版（无 hero 冲突）
   PC / 平板 / 手机 自适应 + 呼吸动画
   ================================================= */

.site-top-banner {
  background-color: #d71820;
  padding: 60px 0;
}

.site-top-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-top-banner__text {
  max-width: 60%;
}

.site-top-banner__title {
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 16px;
}

.site-top-banner__hotline {
  font-size: 22px;
  color: #ffffff;
}

.site-top-banner__phone {
  color: #fff100;
  font-weight: 600;
  font-style: italic;
}

.site-top-banner__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-top-banner__img {
  width: 160px;
  cursor: pointer;

  animation: siteTopBannerBreath 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform;
}

/* -----------------------------
   平板端（≤1199px）
   ----------------------------- */

@media (max-width: 1199px) {
  .site-top-banner {
    padding: 48px 0;
  }

  .site-top-banner__inner {
    gap: 32px;
  }

  .site-top-banner__text {
    max-width: 65%;
  }

  .site-top-banner__title {
    font-size: 17px;
  }

  .site-top-banner__img {
    width: 140px;
  }
}

/* -----------------------------
   手机端（≤767px）
   ----------------------------- */

@media (max-width: 767px) {
  .site-top-banner {
    padding: 36px 0;
  }

  .site-top-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .site-top-banner__text {
    max-width: 100%;
  }

  .site-top-banner__title {
    font-size: 16px;
    line-height: 1.6;
  }

  .site-top-banner__hotline {
    font-size: 15px;
  }

  .site-top-banner__img {
    width: 120px;
    animation-duration: 7s;
  }
}

/* -----------------------------
   呼吸动画（非对称，更像真实呼吸）
   ----------------------------- */

@keyframes siteTopBannerBreath {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.03);
  }
  50% {
    transform: scale(1.07);
  }
  55% {
    transform: scale(1.08);
  }
  75% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

/* -----------------------------
   无障碍 & 性能优化
   ----------------------------- */

@media (prefers-reduced-motion: reduce) {
  .site-top-banner__img {
    animation: none;
  }
}

.site-top-banner__img-wrap{
  display:inline-block;
  animation: siteTopBannerPulse 3s ease-in-out infinite;
  transform-origin:center center;
  will-change: transform;
}

.site-top-banner__img{
  display:block;
  width:320px;
  height:auto;
}

/* 呼吸动画：慢慢放大缩小，循环往复 */
@keyframes siteTopBannerPulse{
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  55%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* ===============================
   案例分类导航（横排按钮）
================================ */

.case-nav {
    width: 100%;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 0px;
    margin-bottom: 10px;
}

/* 关键：一行容器 */
.case-nav-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* 左侧常驻红色块 */
.case-nav-title {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c80000;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 2px;
    white-space: nowrap;
}

/* 分类按钮区 */
.case-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 单个按钮 */
.case-nav-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    height: 40px;
    padding: 0 18px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
    transition: all 0.25s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

/* Hover / 当前 */
.case-nav-item a:hover,
.case-nav-item.is-active a {
    background: #c80000;
    border-color: #8b0000;
    color: #fff;
}

/* ===============================
   平板
================================ */
@media (max-width: 1024px) {
    .case-nav {
        padding: 16px;
    }

    .case-nav-item a {
        min-width: 100px;
        height: 38px;
        font-size: 13px;
    }
}

/* ===============================
   手机
================================ */
@media (max-width: 768px) {
    .case-nav-row {
        flex-direction: column;
        align-items: stretch;
    }

    .case-nav-title {
        width: 100%;
        justify-content: center;
    }

    .case-nav-item a {
        width: calc(50% - 5px);
    }
}

/* =========================
   联系方式 - 电话模块
   ========================= */

.tool-item.contact-tool{
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

/* 每一行 */
.contact-row{
  display: flex;
  align-items: center;
  line-height: 1.8;
}

/* 左侧电话图标 */
.contact-icon{
  width: 22px;              /* 固定宽度，保证对齐 */
  text-align: center;
  margin-right: 6px;
  font-size: 16px;
  color: #333;
  flex-shrink: 0;
}

/* 文本整体 */
.contact-text{
  font-size: 14px;
  color: #333;
}

/* 电话号码（红色重点） */
.contact-tel{
  color: #e60012;           /* 标准官网红 */
  font-weight: 500;
  font-size: 17px;
}

/* hover 加深（PC 端友好） */
.contact-tel:hover{
  color: #b8000f;
}

/* =========================
   移动端适配
   ========================= */
@media screen and (max-width: 768px){
  .contact-icon{
    font-size: 15px;
    width: 20px;
  }

  .contact-text{
    font-size: 13px;
  }
}


/* ===============================
   ABOUT SECTION
================================ */
.about-section {
  padding: 80px 0;
  background: #f7f7f7;
}

/* Header */
.product-showcase-header {
  text-align: center;
  margin-bottom: 40px;
}

.product-showcase-title {
  font-size: 34px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.2;
}

.product-showcase-subtitle {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
  margin-top: 10px;
}

/* Container */
.about-container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Card */
.about-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 30px;
  overflow: hidden;
}

/* Layout */
.about-layout {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Image */
.about-image {
  flex: 0 0 45%;
  border-radius: 14px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  transition: transform 0.45s ease;
}

.about-card:hover .about-image img {
  transform: scale(1.04);
}

/* Content */
.about-content {
  flex: 1;
}

.about-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 20px;
}

/* Button */
.about-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: #dd1717;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-btn:hover {
  background: #e53935;
  transform: translateY(-2px);
  box-shadow: 0 12px 18px rgba(229, 57, 53, 0.25);
}

/* Responsive */
@media (max-width: 992px) {
  .about-section {
    padding: 60px 0;
  }

  .about-card {
    padding: 22px;
  }

  .about-layout {
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .product-showcase-title {
    font-size: 28px;
  }

  .about-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .about-desc {
    font-size: 14px;
  }
}

/* ===============================
   TEAM SECTION
================================ */
.team-section {
  padding: 80px 0;
  background: #fff;
}

.team-container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

/* Grid layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px 22px;
  margin-top: 40px;
}


/* Team item card */
.team-item {
  background: #fff;
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  overflow: hidden;
}

.team-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.10);
}

/* Avatar */
.avatar-wrap {
  width: 186px;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0,0,0,0.06);
  background: #f4f4f4;
  transition: all 0.3s ease;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.team-item:hover .avatar-wrap img {
  transform: scale(1.08);
}

/* Role */
.team-item .role {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-top: 4px;
}

/* Bio text */
.team-item .bio {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin: 8px 0 0;
  min-height: 34px;
}

/* ===============================
   RESPONSIVE
================================ */

/* ≤1200px */
@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ≤992px */
@media (max-width: 992px) {
  .team-section {
    padding: 65px 0;
  }
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px 18px;
  }
}

/* ≤768px */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 14px;
  }

  .avatar-wrap {
    width: 82px;
    height: 82px;
  }
}

/* ≤520px */
@media (max-width: 520px) {
  .team-section {
    padding: 55px 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 12px;
  }

  .team-item {
    padding: 14px 10px;
    border-radius: 14px;
  }

  .avatar-wrap {
    width: 156px;
    height: auto;
  }
}



    .partner-wrap {
      background: #f0f0f0;
      padding: 40px 0 50px;
      overflow: hidden;
    }

    .partner-row {
      width: 100%;
      overflow: hidden;
      margin: 22px 0;
      position: relative;

      /* 边缘渐隐，让循环更自然 */
      mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
      -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    }

    .partner-track {
      display: flex;
      align-items: center;
      gap: 26px;
      width: max-content;
      animation: partnerScroll 40s linear infinite;
      will-change: transform;
    }

    /* 第二行反向滚 */
    .partner-row.reverse .partner-track {
      animation-direction: reverse;
    }

    /* 卡片样式：白底 + 轻边框（像截图） */
    .partner-card {
      width: 240px;
      height: 130px;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 0;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
    }

    /* logo 自适应大小 */
    .partner-card img {
      max-width: 72%;
      max-height: 60%;
      object-fit: contain;
      display: block;
    }

    /* hover 暂停 */
    .partner-row:hover .partner-track {
      animation-play-state: paused;
    }

    /* 核心滚动动画：移动 50%（因为 JS 会复制一份） */
    @keyframes partnerScroll {
      from { transform: translateX(0); }
      to   { transform: translateX(-50%); }
    }

    /* 移动端适配 */
    @media (max-width: 768px) {
      .partner-card {
        width: 170px;
        height: 95px;
      }
      .partner-track {
        gap: 16px;
      }
    }
    
    .footer-follow {
  margin-top: 20px;
}

.footer-follow-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-follow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC 三列 */
  gap: 20px;
}

.footer-follow-item {
  text-align: center;
  width: 120px;
}

.footer-follow-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  padding: 1px;
  border-radius: 8px;
}

.footer-follow-text {
  margin-top: 8px;
  font-size: 14px;
  color: #ffffff;
}


@media (max-width: 768px) {
  .footer-follow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .footer-follow-img {
    width: 90px;
    height: 90px;
  }

  .footer-follow-text {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none !important;
  }
  .header-nav.open {
    display: block !important;
  }

  /* hr 也隐藏，不然会留空 */
  .header hr {
    display: none !important;
  }
}

/* 让 swiper 高度跟随内容（关键） */
@media (max-width: 768px) {
  .jzk_banner .swiper-container,
  .jzk_banner .swiper-wrapper,
  .jzk_banner .swiper-slide {
    height: auto !important;
  }

  /* 图片按原比例完整显示 */
  .jzk_banner .swiper-slide img {
    width: 100%;
    height: auto !important;
    display: block;
    object-fit: contain;
  }
}
